package com.taobao.test.client;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.taobao.test.manager.UserManager;

public class SpringClient {

	public static void main(String[] args) {
		BeanFactory factory = new ClassPathXmlApplicationContext("applicationContext.xml");
		
		UserManager userManager = (UserManager) factory.getBean("userManager");
		
		userManager.save("test", "test");
		
		}
}
